<script setup>
import { ref } from 'vue';

const checked = ref('1');

const onClickLeft = () => history.back();
</script>

<template>
  <div>
    <div class="c-toubu">
      <van-icon @click="onClickLeft" name="arrow-left" />
      <span class="xuanke">订单结算</span>
    </div>
    <div class="c-dakuang">
      <div class="c-hymc">
        <div class="c-youyi">会员名称:<span>小小</span></div>
        <div class="c-youyi">用户手机号:<span>18811112343</span></div>
      </div>
      <div class="c-bjmc">
        <div class="c-youyi">二年级数学志高秋季班(下)</div>
        <div class="c-hongse c-zuoyi">
          ￥<span>2340</span>/<span>10</span>课时
        </div>
      </div>
      <div class="c-huise c-jszx">
        <div class="c-youyi">
          <van-icon name="location-o" /><span>丰台角门少儿学习中心220教室</span>
        </div>
        <div class="c-youyi">
          <van-icon name="notes-o" /><span>2019/9/30 至 2019/12/26</span>
        </div>
        <div class="c-youyi">
          <van-icon name="underway-o" /><span>周一,周四17:00-18:30</span>
        </div>
      </div>
      <div class="c-yhq">
        <div class="c-youyi">优惠券</div>
        <div class="c-zuoyi">
          <span class="c-hongse">-￥<span>15.00</span></span>
          <van-icon name="arrow" />
        </div>
      </div>

      <div class="c-yhq">
        <div class="c-youyi">共需支付</div>
        <div class="c-zuoyi c-hongse">￥<span>2325.00</span></div>
      </div>

      <div class="c-youyi c-zhifufs">选择支付方式</div>
      <div class="c-youyi c-zffsxz">
        <div class="c-zfbzf">
          <div class="c-zftp">
            <img src="../../assets/zfb.png" alt="" />
          </div>
          <div>支付宝支付</div>
        </div>
        <div class="c-zuoyi">
          <van-radio-group v-model="checked" >
            <van-radio name="1"></van-radio>
          </van-radio-group>
        </div>
      </div>
       <div class="c-youyi c-zffsxz">
        <div class="c-zfbzf">
          <div class="c-zftp">
            <img src="../../assets/wx.png" alt="" />
          </div>
          <div>微信支付</div>
        </div>
        <div class="c-zuoyi">
          <van-radio-group v-model="checked" >
            <van-radio name="2"></van-radio>
          </van-radio-group>
        </div>
      </div>

      <div class="c-tijiaolan">
          <div class="c-hongse c-qianshu">￥<span>2325.00</span></div>
          <div class="c-tjddli ">提交订单</div>
      </div>
    </div>
  </div>
</template>



<style scoped>

.c-qianshu {
    font-weight: 600;
    text-align: center;
    width: 100%;
    line-height: 80px;
    font-size: 16px;
}

.c-tijiaolan {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    
}

.c-tjddli {
    width: 100%;
    line-height: 80px;
    background-color: #108ee9;
    text-align: center;
    font-size: 16px;
    color: #fff;
}
.c-zffsxz {
    height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-zfbzf {
  display: flex;
}

.c-zftp {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.c-zftp img {
  width: 100%;
  height: 100%;
}
.c-zhifufs {
  height: 60px;
  line-height: 60px;
}

.c-yhq {
  height: 50px;
  align-items: center;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #999999;
}

.c-jszx {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-bottom: 20px;
}

.c-huise {
  color: #999999;
}
.c-hongse {
  color: red;
}

.c-zuoyi {
  margin-right: 25px;
}

.c-bjmc {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-youyi {
  margin-left: 25px;
}

.c-hymc {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 70px;
  border-bottom: 1px solid #999999;
}

.c-toubu {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  line-height: 50px;
  border-bottom: 1px solid #999999;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 999;
}

.xuanke {
  margin-left: 10px;
}

.c-dakuang {
  font-size: 14px;
  margin-top: 50px;
}
</style>